package com.huike.service;

import com.huike.entity.Menu;
import com.huike.entity.Roles;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Lwen
 * @since 2019-12-28
 */
public interface IRolesService extends IService<Roles> {
    //获取用户权限
    public List<Roles> getRolesByUserId(String user_id);

    public boolean insertRole(List<Roles> data);
    public boolean deleteRole(List<Roles> data);

    public List<Roles> getRoles(List<String> strs, String user_id);
}
